package showview;

import com.tdk.bts.util.ExcelUtil;

import java.util.List;
import java.util.Map;

public class Test {
    public static void main(String[] args) {
        try {
            Map<String, List<String>> map = ExcelUtil.importExcel("C:\\Users\\Cooper\\Desktop\\class\\Java\\filmTicketSystem_Stu\\src\\FilmTemplate.xls");
            for(String str:map.keySet()){
                List<String> obj = map.get(str);
                System.out.println("我是"+str+"号对象");
                for(int i=0;i<obj.size();i++){
                    System.out.println("-------"+obj.get(i));
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
